import java.util.Scanner;



public class App{
    public static void main(String[] args){
        Scanner kb=new Scanner(System.in);

        System.out.print("Which month?(1-12)");
        int month=kb.nextInt();

        System.out.println(monthDays(month)+"days hath"+monthName(month));
    }
    public static String monthName( int month){
        String monthName="error";

        if (month==1)
            monthName="January";
        else if (month==2)
            monthName="Fabruary";
        else if (month==3)
            monthName="March"; 
        else if (month==4)
            monthName="April";
        else if (month==5)
            monthName="May";    
        else if (month==6)
            monthName="FJune";
        else if (month==7)
            monthName="July";    
        else if (month==8)
            monthName="August";
        else if (month==9)
            monthName="September";    
        else if (month==10)
            monthName="October";
        else if (month==11)
            monthName="November";    
        else if (month==12)
            monthName="December";
        
        return monthName;
    }
       public static int monthDays(int month){
           int days;


           switch(month)
        { 
            case  9:
            case  4:
            case  6:
            case  11: days=30;
                  break;
            case  2: days=28;
                break;
               default: days=31;
        }
        return days;

    }
}